
#movie {
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
    width:90%;
    height:30rpx;
    background-color:pink;
    border: 0.5rpx outset gray;
    border-radius: 10rpx;
    margin:10rpx 10rpx 10rpx 10rpx;

}


.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.card-list {
/*/--/*/
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
/*/--/*/
    background: white;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 10px;
    color: #333;
}

.card p {
    color: #666;
    font-size: 0.9em;
}

.detail-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.1s linear 0.05s;
    z-index: 1000;
    pointer-events: none;
}

.detail-page.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear;
    pointer-events: auto;
}

.detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.detail-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.detail-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.detail-text {
    line-height: 1.6;
    color: #444;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #0056b3;
}